Skip to main content

ClipNode Class

Description:

  A class for creating ClipNode objects.

__call

Type: Metamethod.

Description:

  Creates a new ClipNode object.

Signature:

metamethod __call: function(
self: ClipNodeClass,
stencil?: Node --[[nil]]
): ClipNode

Parameters:

ParameterTypeDescription
stencilNodeThe stencil Node that defines the clipping shape. Defaults to nil.

Returns:

Return TypeDescription
ClipNodeA new ClipNode object.